package com.roc.steelend.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.SmallAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface SmallAccountMapper  extends BaseMapper<SmallAccount> {

    List<HashMap<String,Object>> findSmallAccountData(@Param("now")Integer now,
                                                      @Param("size")Integer size,
                                                      @Param("isPayTakeId")Integer isPayTakeId,
                                                      @Param("bigAccountId")Integer bigAccountId);

    Integer findSmallAccountDataCount(@Param("isPayTakeId")Integer isPayTakeId,
                                                      @Param("bigAccountId")Integer bigAccountId);

    List<SmallAccount> findSmallAccountDataSpecialTwo(@Param("isPayTakeId") Integer isPayTakeId);
}
